package com.yystar.support.sysinfo.service.impl;

import javax.annotation.Resource;

import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

import com.yystar.support.sysinfo.dao.SysInfoDao;
import com.yystar.support.sysinfo.service.SysInfoService;

@Service("sysInfoService")
public class SysInfoServiceImpl implements SysInfoService {

	@Resource
	SysInfoDao sysInfoDao;
	
	
	@Override
	@Cacheable("sysInfo")
	public String getValue(String code) {
		return sysInfoDao.getValue(code).getSysInfoValue();
	}
	


}
